package com.jic.manager.mapper;

import com.jic.manager.entity.CmsPageType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 页面类型
 * @author : 
 * @email : 
 * @since : 2020-03-05 12:00:57
 * @version : v1.0.0
 */
@Mapper
public interface  CmsPageTypeMapper {

    long insert(CmsPageType cmsPageType);

    long delete(Long id);

    long update(CmsPageType cmsPageType);

    CmsPageType queryByPrimaryKey(Long id);

    List<CmsPageType> query(CmsPageType cmsPageType);

    List<CmsPageType> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("cmsPageType") CmsPageType cmsPageType);

    long queryPageCount(CmsPageType cmsPageType);

}